//返回所有日记、周记和月记
def user = session.appUser();

def month = db.query("select CONTENT,DATE from MONTH where OPEN_ID=?", user.openId);
def week = db.query("select CONTENT,DATE from WEEK where OPEN_ID=?", user.openId);
def diary = db.query("select WORK,HEALTH,FAMILY,STUDY,HOBBY,MONEY,RELATIONSHIP,PLAN,ANNIVERSARY,DATE from DIARY where OPEN_ID=?", user.openId);

return [month:month, week: week, diary: diary];